#使用镜像库
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
#程序的工作目录
WORKDIR /app
EXPOSE 8080
# 此阶段用于生成服务项目
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY . .
ENTRYPOINT ["dotnet", "Finance.Api.Read.dll"]